using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Admin2024.Domain.Entity.System
{
    public class AppPermission : BaseEntity
    {
        public Guid AppResourceId { get; set; }
        public Guid AppOperationId { get; set; }

        public AppPermission()
        {
            
        }

        public AppPermission(Guid appResourceId, Guid appOperationId)
        {
            AppResourceId = appResourceId;
            AppOperationId = appOperationId;
        }

        /*
            AppResource
                1 student_menu
                2 school_menu

            AppOperation
                10 get
                11 create
                12 modify
                13 print
                14 import 导入
                15 export 导出
                16 删除

            AppPermission
              a  1 10 表示具备对学生菜单进行读取的权限
              b  1 11 表示具备对学生菜单进行创建的权限
              c  1 13 具备对学生菜单 进行 打印的权限

            AppRole
                33 董秘
                34 总经办秘书

            AppRolePermission
                33 a
                33 c


        */

    }
}